<!-- defineModel -->
<template>
    <div>formData:{{ formData }}</div>
    <son v-model="formData"></son>
</template>

<script setup>
import { ref } from 'vue'
import son from './son.vue'

const formData = ref({
    name: {
        type: String,
        default: '张三',
    }
})
</script>

<style scoped>
</style>